<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}" placeholder="最多支持6个汉字" maxlength="6">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Column_list')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-column_list" data-rule="required" class="form-control selectpicker" name="row[column_list]">
                {foreach name="columnListList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.column_list"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statusswitch')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-statusswitch" data-rule="required" class="form-control selectpicker" name="row[statusswitch]">
                {foreach name="statusswitchList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.statusswitch"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Renark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-renark" class="form-control " rows="5" name="row[renark]" cols="50">{$row.renark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
